const wbx = ((w) => {
  const defaultOptions = {
    rowLength: 60,
    columnLength: 50,
    rowHeight: '20px',
    columnWidth: '80px'
  }

  const init = (container, options) => {
    const realOps = Object.assign({}, defaultOptions, options);
    wbx.shell.init(container, realOps);
  };

  return {
    init: init
  };

  w.wbx = wbx;

})(window);
